package com.atdel.demo03;


/**
 * @BelongsProject: java_study
 * @BelongsPackage: com.atdel.demo03
 * @Author: Del
 * @CreateTime: 2025-03-03  19:15
 * @Description: 统一的支付接口
 * @Version: 1.0
 */
public interface PaymentStrategy {
    /**
     * @description: 用于执行支付操作
     * @author: Del
     * @date: 2025/3/3 19:16
     * @param: [amount] 金额
     * @return: void  
     **/
    void pay(double amount);
}
